package com.k.base.jdk.stream.listmaptobean;

/**
 * 统计种类数量
 * @author kivil
 */
public class TypeCountStatistics {
    private int type;
    private int count;

    public TypeCountStatistics() {
    }

    public TypeCountStatistics(int type, int count) {
        this.type = type;
        this.count = count;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "TypeCountStatistics{" +
                "type=" + type +
                ", count=" + count +
                '}';
    }
}
